package com.ruoyi.user.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_user")
@ApiModel(value = "User对象", description = "用户表")
public class User extends BaseEntity<User> {

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "头像")
    private String photo;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "im账号")
    private String imUsername;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "背景图url")
    private String backgroundUrl;

    @ApiModelProperty(value = "0女1男2未知")
    private Integer sex;

    @ApiModelProperty(value = "0普通用户1主持2代理")
    private Integer identity;

    @ApiModelProperty(value = "0未认证1已认证")
    private Integer isAuth;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "个性签名")
    private String personalityName;

    @ApiModelProperty(value = "兴趣爱好")
    private String interestHobby;

    @ApiModelProperty(value = "所在服务器")
    private String placeServer;

    @ApiModelProperty(value = "登录时间")
    private Date loginTime;

    @ApiModelProperty(value = "注销时间")
    private Date logoutTime;

    @ApiModelProperty(value = "照片墙")
    private String photoWall;

    @ApiModelProperty(value = "加密盐")
    private String salt;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty("微信id")
    private String openId;

    @Schema(name = "0封号1正常2注销")
    private Integer status;

    @Schema(name = "身份证号码")
    private String cardNum;

    @Schema(name = "青少年模式开关0关闭1开启")
    private Integer isAdolescent;

    @Schema(name = "监护密码")
    private String tutelageWord;

    @Schema(name = "监护密码盐值")
    private String tutelageSalt;

    @Schema(name = "融云token")
    private String rongToken;
}
